home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / stac0193.zip / TEC009.DOC < prev    next >
Text File  |  1992-11-03  |  6KB  |  110 lines

  1. ___________________________________________________________________________
  2. STAC FAX                                                           STAC FAX
  3.  
  4. Title: Stacker and Disk Caching Programs
  5.  
  6. STACKER NOTE TEC009 - 6/18/92                          STAC FAX Index #2401
  7. ___________________________________________________________________________
  8.  
  9. Background.
  10.  
  11.    Stacker has been tested with most popular disk caching programs such as   
  12.    Smartdrive, PC-Kwik, PC-Cache, Norton Cache, and HyperDisk, and has been 
  13.    found to be compatible.  These programs will cache the Stacker drive, but 
  14.    not directly.  A Stacker drive is actually cached by caching the physical 
  15.    drive which hosts the drive's companion STACVOL file.  As a bonus, by 
  16.    caching this file and it's compressed data, the cache size is effectively 
  17.    doubled. 
  18.  
  19.    For example, let's say you have Stacked your C: drive.  You can use the 
  20.    Stacker program to determine the host drive.  
  21.  
  22.    Type: C:\STACKER\STACKER     <ENTER>        
  23.  
  24.    The output will look similar to: 
  25.  
  26.    STACKER - 2.00, (c) 1990-91, Stac Electronics, Carlsbad, CA
  27.    
  28.    Drive C: was drive D: at boot time  [ D:\STACVOL.DSK = XX.X 0MB ]
  29.    Drive D: was drive C: at boot time  
  30.  
  31.    This drive map tells us that D: is the host for the C: Stacker drive.  
  32.    When you write to, or read from Stacker drive C:, you are really accessing 
  33.    STACVOL.DSK on the D: drive.  By caching D:, the programs are caching this 
  34.    25 MB STACVOL.DSK file and therefore your C: drive.  
  35.  
  36.  
  37. Do I need to tell the caching program not to cache the Stacker drive?
  38.  
  39.     Most disk caching programs will only cache the physical drive.  Normally,
  40.     they will not cache the Stacker logical drive by default, so you will
  41.     probably not have to add any special parameters.  In fact, if you attempt 
  42.     to force the program to cache the Stacked drive, you will probably 
  43.     receive a message such as "unable to cache specified drive".     
  44.  
  45.     To be sure, you should examine the status of the cache to ensure that it
  46.     is in fact caching only the physical drives.  If you are given the option 
  47.     of drives to cache, specify the host drive.  For example, if you wish to  
  48.     tell Smartdrive 4.0 to cache only the D: host drive, the command in   
  49.     Autoexec.bat would be similar to the following:
  50.  
  51.     C:\WINDOWS\SMARTDRIVE.EXE  D 
  52.  
  53.    NOTE:  If your caching program loads in Config.sys, make sure its device 
  54.           driver loads BEFORE the Stacker device driver. This insures caching
  55.           of the host drive only.
  56.  
  57. How do I cache a "replaced" Stacker drive or removable drive?       
  58.       
  59.     A "replaced" Stacker drive is one which has replaced its drive letter 
  60.     with that of the host drive.  Removable drives such as floppies, 
  61.     Bernoulli drives and Syquest drives are mounted this way.  In order to 
  62.     cache these replaced drives, they must be mounted and replaced after the 
  63.     cache has been loaded. This can be done by:
  64.    
  65.     1. Placing the cache device driver before the Stacker device driver 
  66.        (if it loads in Config.sys.)    
  67.          -OR- 
  68.     2. If the cache loads in Autoexec.bat, add a space, then an '@' 
  69.        (without the quotes) to the end of the Stacker device driver in 
  70.        Config.sys for each drive you wish to mount as replaced.  Then, in 
  71.        Autoexec.bat, AFTER the command to load the cache, mount each drive 
  72.        (one line for each drive) with:    
  73.       
  74.        C:\STACKER\STACKER X:    
  75.       
  76.        where X: is the Stacker drive you wish to mount as replaced.  
  77.  
  78. Is it safe to use a cache's write delay feature with Stacker?
  79.  
  80.     Most caches, such as SMARTDRIVE 4.0, incorporate a write delay feature.  
  81.     A write delay, also known as a write back or lazy write,  causes the data 
  82.     to be held in memory for a period of time before it gets stored to disk.  
  83.     This technique enables greater efficiency, however, if the machine hangs 
  84.     or is rebooted before the information is written to disk, data is lost or 
  85.     possibly corrupted.  A Stacker drive will not increase the likelihood of 
  86.     file corruption occurring. However, it is just as susceptible as any other 
  87.     DOS disk.  It is up to you to determine if the extra speed is worth the 
  88.     risk.  The write delay feature is usually selectable, and can therefore be 
  89.     disabled.  For example, with SMARTDRIVE 4.0 disable write caching by 
  90.     placing the host drive letter ONLY on the command line.  For example,
  91.        
  92.     C:\WINDOWS\SMARTDRV.EXE  D    (where D is the host drive letter)
  93.  
  94. Can I use Stacker's cache with other caches?
  95.  
  96.     Stacker gives you the option of setting up a small cache in EMS or 
  97.     conventional memory.  The 64K EMS cache will provide caching benefits and 
  98.     greatly reduce the Stacker device memory requirements.  Alternatively, 
  99.     the conventional memory cache of 0 to 64K can be setup with a /m=x 
  100.     parameter (where x=0-64) on the Stacker device driver in Config.sys. 
  101.     Unlike the EMS cache, this adds directly to the size of the driver.  The 
  102.     default for the conventional memory cache size is 0 K.  Both caches are  
  103.     compatible with third party caches but due to their relative small size, 
  104.     their contribution is negligible.  Because of this, in the presence of 
  105.     another cache, there is really no need to enable the Stacker cache unless
  106.     you desire to use the EMS cache for reducing the device driver size.  
  107.  
  108. ___________________________________________________________________________
  109. Copyright 1992, Stac Electronics                    STAC FAX (619) 431-6712
  110.